package com.red.star.macalline.sched.service;

import com.red.star.macalline.data.mappers.AccessLogMapper;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author AMGuo
 * @Description
 * @date 2018/03/14 16:18
 */
@Component
public class LogService {

    @Resource
    AccessLogMapper accessLogMapper;

    /**
     * 查询days之内活动的日志信息
     *
     * @param days
     * @return
     */
    public List<String> findAccessLogByDay(Integer days) {
        return accessLogMapper.findAccessLogByDay(days);
    }
}
